//
//  GameFlow.h
//  QuizMaster
//
//  Created by Jeppe Nielsen on 3/23/15.
//  Copyright (c) 2015 Jeppe Nielsen. All rights reserved.
//

#pragma once
#include "GameWorld.hpp"

using namespace Nano;

enum class State {
    None,
    SelectQuestion,
    QuestionAnimating

};

class GameFlow {

public:
    void Initialize(GameWorld* world);
    void Update(float dt);

private:
    void EnterState(State state);
    void ExitState(State state);
    void UpdateState(State state, float dt);

private:
    GameWorld* world;
    State currentState;
    State wantedState;
    
    void SwitchState(State state);
    
    
    
};